package it.polimi.TravelDream.ejb.dtos;

import java.util.Date;
import java.util.List;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.validator.constraints.NotEmpty;

public class UserPackageDTO {

	@NotEmpty
	private String name;
	@NotEmpty
	private String description;
	@NotEmpty
	private String city;
	@NotEmpty
	private String nation;
	@Temporal(TemporalType.DATE)
	private Date startingDate;
	@Temporal(TemporalType.DATE)
	private Date expirationDate;
	private int placesAvailable;
	private int partecipantNumber;
	@NotEmpty
	private boolean lastMinute;
	private double totalPrice;
	private List <ExcursionDTO> excursions;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getNation() {
		return nation;
	}
	public void setNation(String nation) {
		this.nation = nation;
	}
	public Date getStartingDate() {
		return startingDate;
	}
	public void setStartingDate(Date startingDate) {
		this.startingDate = startingDate;
	}
	public Date getExpirationDate() {
		return expirationDate;
	}
	public void setExpirationDate(Date expirationDate) {
		this.expirationDate = expirationDate;
	}
	public int getPlacesAvailable() {
		return placesAvailable;
	}
	public void setPlacesAvailable(int placesAvailable) {
		this.placesAvailable = placesAvailable;
	}
	public int getPartecipantNumber() {
		return partecipantNumber;
	}
	public void setPartecipantNumber(int partecipantNumber) {
		this.partecipantNumber = partecipantNumber;
	}
	public boolean isLastMinute() {
		return lastMinute;
	}
	public void setLastMinute(boolean lastMinute) {
		this.lastMinute = lastMinute;
	}
	public double getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}
	public List<ExcursionDTO> getExcursions() {
		return excursions;
	}
	public void setExcursions(List<ExcursionDTO> excursions) {
		this.excursions = excursions;
	}
}
